version: '3'
services:
  frontend:
    build:
      context: ./frontend/my-app
    ports:
      - "3000:3000"
    volumes:
      - ./frontend/my-app:/app
    depends_on:
      - backend

  backend:
    build:
      context: ./backend
    ports:
      - "8080:8080"
    volumes:
      - ./backend:/app
